home *** CD-ROM | disk | FTP | other *** search
/ Language/OS - Multiplatform Resource Library / LANGUAGE OS.iso / cocktail / front.lha / front / m2c / Oper.h < prev    next >
C/C++ Source or Header  |  1992-08-18  |  1KB  |  28 lines

  1. #define DEFINITION_Oper
  2.  
  3. #ifndef DEFINITION_Lists
  4. #include "Lists.h"
  5. #endif
  6.  
  7. #ifndef DEFINITION_TokenTab
  8. #include "TokenTab.h"
  9. #endif
  10.  
  11. #ifndef DEFINITION_Idents
  12. #include "Idents.h"
  13. #endif
  14.  
  15. #define Oper_Left    0
  16. #define Oper_Right    1
  17. #define Oper_None    2
  18. typedef unsigned char Oper_OperKind;
  19. extern void Oper_MakePriority ARGS((Oper_OperKind Art, TokenTab_PosType Pos));
  20. extern void Oper_CompletePriority ARGS((Lists_tList Comment, TokenTab_PosType CommPos));
  21. extern void Oper_MakeOperator ARGS((Idents_tIdent Token, TokenTab_PosType TokenPos));
  22. extern void Oper_MakeOperHeader ARGS((TokenTab_PosType OPERPos, Lists_tList Comment, TokenTab_PosType CommPos));
  23. extern void Oper_InitPrioReading ARGS(());
  24. extern BOOLEAN Oper_GetOperHeader ARGS((TokenTab_PosType *OPERPos, Lists_tList *Comment, TokenTab_PosType *CommPos));
  25. extern BOOLEAN Oper_GetPriority ARGS((Oper_OperKind *Art, TokenTab_PosType *Pos, Lists_tList *Comment, TokenTab_PosType *CommPos));
  26. extern BOOLEAN Oper_GetOperator ARGS((TokenTab_Vocabulary *Token, TokenTab_PosType *TokenPos));
  27. extern void BEGIN_Oper();
  28.